{php echo register_jssdk();}
<script type="text/javascript">
	// 微考试分享
	wx.ready(function () {
		sharedata = {
			title: document.title,
			desc: document.title + " - {$_W['account']['name']}",
			link: "{$_W['siteurl']}",
			imgUrl: "{$_W['siteroot']}addons/ewei_exam/preview.jpg"
		};
		wx.onMenuShareAppMessage(sharedata);
		wx.onMenuShareTimeline(sharedata);
	});
</script>
